home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 4 / Mac Giga-ROM 4.0 - 1993.toast / FILES / HYP / H-I / HyperScrap.cpt / HyperScrap / card_2872.txt < prev    next >
Text File  |  1989-01-09  |  8KB  |  299 lines

  1. -- card: 2872 from stack: in
  2. -- bmap block id: 3714
  3. -- flags: 4000
  4. -- background id: 2715
  5. -- name: Main Menu
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A003
  11. -- rect: left=331 top=39 right=65 bottom=476
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Install HyperScrap
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   push card
  23.   get the script of this stack
  24.   put it into stackScript
  25.   ask "Install HyperScrap into what stack?" with "Home"
  26.   if it is empty then exit mouseUp
  27.   put it into whatStack
  28.   go to stack it
  29.   get the script of stack it
  30.   put it into otherStackScript
  31.   put otherStackScript & stackScript into newStackScript
  32.   set the script of stack whatStack to newStackScript
  33.   answer "Installed!" with "OK"
  34.   pop card
  35. end mouseUp
  36.  
  37.  
  38.  
  39. -- part 2 (button)
  40. -- low flags: 80
  41. -- high flags: A003
  42. -- rect: left=351 top=68 right=95 bottom=445
  43. -- title width / last selected line: 0
  44. -- icon id / first selected line: 0 / 0
  45. -- text alignment: 1
  46. -- font id: 0
  47. -- text size: 12
  48. -- style flags: 0
  49. -- line height: 16
  50. -- part name: Help!
  51. ----- HyperTalk script -----
  52. on mouseUp
  53.   show card field "Help"
  54.   hide me
  55.   show card button "Hide Help"
  56. end mouseUp
  57.  
  58.  
  59.  
  60. -- part 4 (button)
  61. -- low flags: 00
  62. -- high flags: A003
  63. -- rect: left=358 top=99 right=126 bottom=440
  64. -- title width / last selected line: 0
  65. -- icon id / first selected line: 0 / 0
  66. -- text alignment: 1
  67. -- font id: 0
  68. -- text size: 12
  69. -- style flags: 0
  70. -- line height: 16
  71. -- part name: Home
  72. ----- HyperTalk script -----
  73. on mouseUp
  74.   go home
  75. end mouseUp
  76.  
  77.  
  78.  
  79. -- part 5 (field)
  80. -- low flags: 01
  81. -- high flags: 0007
  82. -- rect: left=15 top=59 right=315 bottom=309
  83. -- title width / last selected line: 0
  84. -- icon id / first selected line: 0 / 0
  85. -- text alignment: 0
  86. -- font id: 3
  87. -- text size: 12
  88. -- style flags: 0
  89. -- line height: 16
  90. -- part name: Help
  91. ----- HyperTalk script -----
  92. on mouseUp
  93.   hide me
  94.   hide card button "Hide Help"
  95.   show card button "Help!"
  96. end mouseUp
  97.  
  98.  
  99.  
  100. -- part 7 (button)
  101. -- low flags: 00
  102. -- high flags: A003
  103. -- rect: left=351 top=68 right=95 bottom=445
  104. -- title width / last selected line: 0
  105. -- icon id / first selected line: 0 / 0
  106. -- text alignment: 1
  107. -- font id: 0
  108. -- text size: 12
  109. -- style flags: 0
  110. -- line height: 16
  111. -- part name: Hide Help
  112. ----- HyperTalk script -----
  113. on mouseUp
  114.   hide card field "Help"
  115.   hide me
  116.   show card button "Help!"
  117. end mouseUp
  118.  
  119.  
  120.  
  121. -- part 46 (button)
  122. -- low flags: 00
  123. -- high flags: A003
  124. -- rect: left=360 top=133 right=183 bottom=443
  125. -- title width / last selected line: 0
  126. -- icon id / first selected line: 2478 / 2478
  127. -- text alignment: 1
  128. -- font id: 14
  129. -- text size: 12
  130. -- style flags: 0
  131. -- line height: 16
  132. -- part name: Info
  133. ----- HyperTalk script -----
  134. on mouseUp
  135.   go to card "Info"
  136. end mouseUp
  137.  
  138.  
  139.  
  140. -- part contents for card part 5
  141. ----- text -----
  142.      HyperScrap is essentially a clipboard with storing space, or like a ScrapBook for HyperCard objects/graphics/text.  
  143.      HyperScrap has cards that hold buttons, fields, graphics, and text.  
  144.      Most of HyperScap's features are used from other stacks, when you want to copy a couple of objects or graphics without making trips back and forth between stacks.
  145.      To use HyperScrap, you have to install it into the Home Stack, or if you don't usually boot up to the Home Stack, you can install it into other stacks.
  146.      Installation puts HyperScrap's scripts into the script of the other stack.
  147.      To get a short listing of HyperScrap's features, hold down the Option key while selecing "Help" from the "Go" menu.  This can also be used from other stacks.
  148.      
  149.      The commands for HyperScrap go as follows:
  150.     
  151. When in browse mode: pressing the OPTION key while over a button copies that button to HyperScrap,  pressing COMMAND and OPTION over a field copies that field. When doing this, you have to hold down the key(s) until you see the watch cursor or it won't work.  This makes it so you can use command-key menu items while over an object. Note that that message is send on mouseWithin, not on mouseUp, so you don't click the mouse while pressing the key(s).
  152.  
  153. To copy a graphic to HyperScrap, select it with either the lasso or the selection rectangle tools, and copy it using "Copy Picture" from the Edit menu.  Then go back into browse mode, and type option-g, which looks like ¬©.  Be sure to have the blindTyping on (you can set that in the Home Stack) when pressing option-g. You will be asked to give the graphic a title to remember it by.  
  154.  
  155. To select text, copy whatever text you want to have copied to HyperScrap, then choose the browse tool and press option-t.  (‚Ć).  
  156.  
  157. To paste things:
  158. Hold down the option key while pulling down any menu item with "Paste" in it's name.
  159.      That will bring up a dialog that asks you what you want to paste.  Just type the first letter of what you want to paste, and then press return or click OK. The menu item that you picked will be automatically inserted in the dialog for you.  If you want to paste that item, just press return.  If not, just type another letter an it will automatically delete what letter is already there.
  160.      That will take you to the card where your object is located.  From there, click on the item that you want to paste. 
  161.      In the case of text, the text will be copied to the clipboard when you click on the field it is in.  Paste the copied text in the normal Macintosh way. 
  162.      Note on pasting: if you are just in the HyperScrap stack, and go through the cards, clicking on an object you want will not automatically paste it.  That works only when you execute the command to paste that object.  This is done so that the object can be edited from the HyperScrap stack.
  163.      Also:  if you are copying buttons or fields (command key, or command and option key), if you do these commands while not over a button or field, it will give you a message like "Cannot find menu item 'Copy Button'".   This is because HyperScrap is trying to copy the button/field when there is no button/field to  copy.  Just click "Cancel"...
  164.  
  165.     If you have any suggestions, or you want an upgrade to the latest version, write to me at:           
  166.                         Brian Wilson
  167.                    103 Northrop Place
  168.                   Santa Cruz, CA 95060
  169.  
  170.  
  171.      
  172.  
  173.  
  174. -- part contents for card part 23
  175. ----- text -----
  176.    Blank Graphic   Cool Backround   SprayCan arc   Globe   Icons   Plus   Line 2   Line   
  177.  
  178. -- part contents for card part 28
  179. ----- text -----
  180. Blank Graphic
  181. Cool Backround
  182. SprayCan arc
  183. Globe
  184. Icons
  185. Plus
  186. Line 2
  187. Line
  188.  
  189. -- part contents for card part 29
  190. ----- text -----
  191. Blank Graphic
  192. Cool Backround
  193. SprayCan arc
  194. Globe
  195. Icons
  196. Plus
  197. Line 2
  198. Line
  199.  
  200. -- part contents for card part 30
  201. ----- text -----
  202. Blank Graphic
  203. Cool Backround
  204. SprayCan arc
  205. Globe
  206. Icons
  207. Plus
  208. Line 2
  209. Line
  210.  
  211. -- part contents for card part 31
  212. ----- text -----
  213. Blank Graphic
  214. Cool Backround
  215. SprayCan arc
  216. Globe
  217. Icons
  218. Plus
  219. Line 2
  220. Line                         
  221.  
  222. -- part contents for card part 32
  223. ----- text -----
  224. FLJKLSDJFLJSDLKFJLKDSJFLKSDJFLJDSLFJSDLJKLKJSDF
  225. Line 3
  226. Blank Graphic
  227. Cool Backround
  228. SprayCan arc
  229. Globe
  230. Icons
  231. Plus
  232. Line 2
  233. Line
  234.  
  235. -- part contents for card part 33
  236. ----- text -----
  237. FLJKLSDJFLJSDLKFJLKDSJFLKSDJFLJDSLFJSDLJKLKJSDF
  238. Line 3
  239. Blank Graphic
  240. Cool Backround
  241. SprayCan arc
  242. Globe
  243. Icons
  244. Plus
  245. Line 2
  246. Line
  247.  
  248. -- part contents for card part 36
  249. ----- text -----
  250. Cool Backround
  251. Globe
  252. Blank Graphic
  253. Cool Backround
  254. SprayCan arc
  255. Globe
  256. Icons
  257. Plus
  258. Line 2
  259. Line
  260.  
  261. -- part contents for card part 38
  262. ----- text -----
  263. Cool Backround
  264. Globe
  265.  
  266. -- part contents for card part 39
  267. ----- text -----
  268. Cool Backround
  269. Globe
  270.  
  271. -- part contents for card part 40
  272. ----- text -----
  273. Cool Backround
  274. Globe
  275.  
  276. -- part contents for card part 41
  277. ----- text -----
  278. Cool Backround
  279. Globe
  280.  
  281. -- part contents for card part 42
  282. ----- text -----
  283. Cool Backround
  284. Globe
  285.  
  286. -- part contents for card part 43
  287. ----- text -----
  288. Cool Backround
  289. Globe
  290.  
  291. -- part contents for card part 44
  292. ----- text -----
  293. Cool Backround
  294. Globe
  295.  
  296. -- part contents for card part 45
  297. ----- text -----
  298. Cool Backround
  299. Globe